<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib uri="http://www.ecside.org" prefix="ec"%>
<jsp:useBean id="pageBean" scope="request" class="com.agileai.hotweb.domain.PageBean"/>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>操作日志</title>
<%@include file="/jsp/inc/resource.inc.jsp"%>
</head>
<body>
<form action="<%=pageBean.getHandlerURL()%>" name="form1" id="form1" method="post">
<%@include file="/jsp/inc/message.inc.jsp"%>
<!-- <div id="__ToolBar__"  >
<table class="toolTable" border="0" cellpadding="0" cellspacing="1">
<tr>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" hotKey="A" align="center" onclick="doRequest('insertRequest')"><input value="&nbsp;" title="新增" type="button" class="createImgBtn" />新增</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" hotKey="E" align="center" onclick="doRequest('updateRequest')"><input value="&nbsp;" title="编辑" type="button" class="editImgBtn" />编辑</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" hotKey="C" align="center" onclick="doRequest('copyRequest')"><input value="&nbsp;" title="复制" type="button" class="copyImgBtn" />复制</td>
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" hotKey="V" align="center" onclick="doRequest('viewDetail')"><input value="&nbsp;" title="查看" type="button" class="detailImgBtn" />查看</td>   
   <td onmouseover="onMover(this);" onmouseout="onMout(this);" class="bartdx" hotKey="D" align="center" onclick="doDelete($('#'+rsIdTagId).val());"><input value="&nbsp;" title="删除" type="button" class="delImgBtn" />删除</td>
</tr>
</table>
</div> -->
<div id="__ParamBar__">
<table class="queryTable"><tr><td>
&nbsp;操作时间<input id="tdoSubmiTimeStart" label="操作时间开始" name="tdoSubmiTimeStart" type="text" value="<%=pageBean.inputDate("tdoSubmiTimeStart")%>" size="8" class="text" /><img id="tdoSubmiTimeStartPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
-<input id="tdoSubmiTimeEnd" label="操作时间结束" name="tdoSubmiTimeEnd" type="text" value="<%=pageBean.inputDate("tdoSubmiTimeEnd")%>" size="8" class="text" /><img id="tdoSubmiTimeEndPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
&nbsp;处理时间<input id="tdoHandlerTimeStart" label="处理时间开始" name="tdoHandlerTimeStart" type="text" value="<%=pageBean.inputDate("tdoHandlerTimeStart")%>" size="8" class="text" /><img id="tdoHandlerTimeStartPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
-<input id="tdoHandlerTimeEnd" label="处理时间结束" name="tdoHandlerTimeEnd" type="text" value="<%=pageBean.inputDate("tdoHandlerTimeEnd")%>" size="8" class="text" /><img id="tdoHandlerTimeEndPicker" src="images/calendar.gif" width="16" height="16" alt="日期/时间选择框" />
</td></tr>
<tr><td>
&nbsp;操作人<input id="tdoSumitterName" label="操作人" name="tdoSumitterName" type="text" value="<%=pageBean.inputValue("tdoSumitterName")%>" size="7" class="text" />

&nbsp;处理人<input id="tdoHandler" label="处理人" name="tdoHandler" type="text" value="<%=pageBean.inputValue("tdoHandler")%>" size="7" class="text" />
&nbsp;操作状态<select id="tdoState" label="操作状态" name="tdoState" class="select" onchange="doQuery()"><%=pageBean.selectValue("tdoState")%></select>
<%-- &nbsp;内容记录<input id="%tdoContent%" label="内容记录" name="%tdoContent%" type="text" value="<%=pageBean.inputValue("%tdoContent%")%>" size="24" class="text" /> --%>

&nbsp;<input type="button" name="button" id="button" value="查询" class="formbutton" onclick="doQuery()" />
</td></tr></table>
</div>
<ec:table 
form="form1"
var="row"
items="pageBean.rsList" csvFileName="操作日志.csv"
retrieveRowsCallback="process" xlsFileName="操作日志.xls"
useAjax="true" sortable="true"
doPreload="false" toolbarContent="navigation|pagejump |pagesize |export|extend|status"
width="100%" rowsDisplayed="15"
listWidth="100%" 
height="390px"
>
<ec:row styleClass="odd" ondblclick=" " oncontextmenu="selectRow(this,{TDO_ID:'${row.TDO_ID}'});refreshConextmenu()" onclick="selectRow(this,{TDO_ID:'${row.TDO_ID}'})">
	<ec:column width="50" style="text-align:center" property="_0" title="序号" value="${GLOBALROWCOUNT}" />
	<ec:column width="100" property="TDO_SUBMITTER_NAME" title="操作人"   />
	<ec:column width="100" property="TDO_SUBMI_TTIME" title="操作时间" cell="date" format="yyyy-MM-dd HH:mm" />
	<ec:column width="100" property="TDO_HANDLER_NAME" title="处理人"   />
	<ec:column width="100" property="TDO_HANDLER_TIME" title="处理时间" cell="date" format="yyyy-MM-dd HH:mm" />
	<ec:column width="100" property="TDO_STATE_NAME" title="操作状态" />
	<%-- <ec:column width="100" property="TDO_CONTENT" title="操作内容"   /> --%>
</ec:row>
</ec:table>
<input type="hidden" name="tpdId" id="tpdId" value="<%=pageBean.inputValue("tpdId")%>" />
<input type="hidden" name="TDO_ID" id="TDO_ID" value="" />
<input type="hidden" name="actionType" id="actionType" />
<script language="JavaScript">
setRsIdTag('TDO_ID');
var ectableMenu = new EctableMenu('contextMenu','ec_table');
initCalendar('tdoSubmiTimeStart','%Y-%m-%d','tdoSubmiTimeStartPicker');
initCalendar('tdoSubmiTimeEnd','%Y-%m-%d','tdoSubmiTimeEndPicker');
initCalendar('tdoHandlerTimeStart','%Y-%m-%d','tdoHandlerTimeStartPicker');
initCalendar('tdoHandlerTimeEnd','%Y-%m-%d','tdoHandlerTimeEndPicker');
datetimeValidators[0].set("yyyy-MM-dd").add("tdoSubmiTimeStart");
datetimeValidators[1].set("yyyy-MM-dd").add("tdoSubmiTimeEnd");
datetimeValidators[2].set("yyyy-MM-dd").add("tdoHandlerTimeStart");
datetimeValidators[3].set("yyyy-MM-dd").add("tdoHandlerTimeEnd");
</script>
</form>
</body>
</html>
<%@include file="/jsp/inc/scripts.inc.jsp"%>
